<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Add/Remove Class</title>
<script language="javascript" type="text/javascript" src="../../includes/xpath.js"></script>
<script language="javascript" type="text/javascript" src="../../includes/SpryData.js"></script>
<link href="../../css/samples.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.dada {
	background-color: #FFCC33;
}
-->
</style>
</head>
<body>
<h3 >addClass / removeClass </h3>
<p >This function allows you to append or remove a class to the specified element. This will leave the existing classes that have been defined. </p>
<p ><a href="#" onclick="Spry.Utils.addClassName('content','dada');">Add Class</a> | <a href="#" onclick="Spry.Utils.removeClassName('content','dada');">Remove Class</a></p>
<div id="content">Change This Text</div>
</body>
</html>
